<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>usb: XUsb_DeviceConfig Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.gif"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">usb
   </div>
   <div id="projectbrief">Xilinx SDK Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Search');
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('struct_x_usb___device_config.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">XUsb_DeviceConfig Struct Reference<div class="ingroups"><a class="el" href="group__usb__v5__0.html">Usb_v5_0</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>The <a class="el" href="struct_x_usb___device_config.html" title="The XUsb_DeviceConfig structure contains the configuration information to configure the USB controlle...">XUsb_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode.  
 <a href="struct_x_usb___device_config.html#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:afabc76c53b986e9ae1c5ae30f52789f9"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#afabc76c53b986e9ae1c5ae30f52789f9">NumEndpoints</a></td></tr>
<tr class="memdesc:afabc76c53b986e9ae1c5ae30f52789f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Number of Endpoints.  <a href="#afabc76c53b986e9ae1c5ae30f52789f9">More...</a><br /></td></tr>
<tr class="separator:afabc76c53b986e9ae1c5ae30f52789f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6448bf5499b369be43e341c0edf109ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a6448bf5499b369be43e341c0edf109ea">Ep</a> [<a class="el" href="group__usb__v5__0.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>]</td></tr>
<tr class="memdesc:a6448bf5499b369be43e341c0edf109ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">An array of end points.  <a href="#a6448bf5499b369be43e341c0edf109ea">More...</a><br /></td></tr>
<tr class="separator:a6448bf5499b369be43e341c0edf109ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a39868eeb033b4118b6e80f11a819d79c"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a39868eeb033b4118b6e80f11a819d79c">Status</a></td></tr>
<tr class="memdesc:a39868eeb033b4118b6e80f11a819d79c"><td class="mdescLeft">&#160;</td><td class="mdescRight">USB device Status.  <a href="#a39868eeb033b4118b6e80f11a819d79c">More...</a><br /></td></tr>
<tr class="separator:a39868eeb033b4118b6e80f11a819d79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa2e570d2cf6027c87adee4304b6afd79"><td class="memItemLeft" align="right" valign="top">u8&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#aa2e570d2cf6027c87adee4304b6afd79">CurrentConfiguration</a></td></tr>
<tr class="memdesc:aa2e570d2cf6027c87adee4304b6afd79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current state of enumeration enumerated (1)/Not enumerated (0)  <a href="#aa2e570d2cf6027c87adee4304b6afd79">More...</a><br /></td></tr>
<tr class="separator:aa2e570d2cf6027c87adee4304b6afd79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ebfe09517736ee2ca350e4d96e996c"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_x_usb___device_config.html#a53ebfe09517736ee2ca350e4d96e996c">CurrentSpeed</a></td></tr>
<tr class="memdesc:a53ebfe09517736ee2ca350e4d96e996c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current Speed.  <a href="#a53ebfe09517736ee2ca350e4d96e996c">More...</a><br /></td></tr>
<tr class="separator:a53ebfe09517736ee2ca350e4d96e996c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>The <a class="el" href="struct_x_usb___device_config.html" title="The XUsb_DeviceConfig structure contains the configuration information to configure the USB controlle...">XUsb_DeviceConfig</a> structure contains the configuration information to configure the USB controller for DEVICE mode. </p>
<p>This data structure is used with the <a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25" title="This function initializes USB End points. ">XUsb_ConfigureDevice()</a> function call. </p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="aa2e570d2cf6027c87adee4304b6afd79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa2e570d2cf6027c87adee4304b6afd79">&#9670;&nbsp;</a></span>CurrentConfiguration</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::CurrentConfiguration</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current state of enumeration enumerated (1)/Not enumerated (0) </p>

</div>
</div>
<a id="a53ebfe09517736ee2ca350e4d96e996c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53ebfe09517736ee2ca350e4d96e996c">&#9670;&nbsp;</a></span>CurrentSpeed</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 XUsb_DeviceConfig::CurrentSpeed</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Current Speed. </p>

<p class="reference">Referenced by <a class="el" href="xusb__dma__intr__storage_8c.html#a20c10bb6c0fae679e5f4309d4f82e8a1">ReadTransfer()</a>.</p>

</div>
</div>
<a id="a6448bf5499b369be43e341c0edf109ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6448bf5499b369be43e341c0edf109ea">&#9670;&nbsp;</a></span>Ep</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="struct_x_usb___ep_config.html">XUsb_EpConfig</a> XUsb_DeviceConfig::Ep[<a class="el" href="group__usb__v5__0.html#gac10c01aa71b29e898218eb4ffb61bea5">XUSB_MAX_ENDPOINTS</a>]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An array of end points. </p>

<p class="reference">Referenced by <a class="el" href="xusb__storage_8h.html#a3b40155d0d9fa44133905dd9f6f02ee7">InitUsbInterface()</a>, <a class="el" href="xusb__cp9_8h.html#a0e70dcdbdf3db1095a5b1b4128041618">SetupControlWriteStatusStage()</a>, <a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice()</a>, <a class="el" href="group__usb__v5__0.html#ga143b99da38f8de7e4d0f5cee108fc797">XUsb_EpDataRecv()</a>, <a class="el" href="group__usb__v5__0.html#gabf09f948bc604c279cb0a12bba14057b">XUsb_EpDataSend()</a>, and <a class="el" href="group__usb__v5__0.html#gae7fef0669e6d6094cc2af067195cc04d">XUsb_EpSetHandler()</a>.</p>

</div>
</div>
<a id="afabc76c53b986e9ae1c5ae30f52789f9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afabc76c53b986e9ae1c5ae30f52789f9">&#9670;&nbsp;</a></span>NumEndpoints</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::NumEndpoints</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Number of Endpoints. </p>

<p class="reference">Referenced by <a class="el" href="xusb__storage_8h.html#a3b40155d0d9fa44133905dd9f6f02ee7">InitUsbInterface()</a>, <a class="el" href="group__usb__v5__0.html#gaeab13bf4d5ed84b5b9e0c1c651f50aaa">XUsb_CfgInitialize()</a>, and <a class="el" href="group__usb__v5__0.html#ga9c50c0ee6d36d4b87a40018c2ad0fd25">XUsb_ConfigureDevice()</a>.</p>

</div>
</div>
<a id="a39868eeb033b4118b6e80f11a819d79c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a39868eeb033b4118b6e80f11a819d79c">&#9670;&nbsp;</a></span>Status</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u8 XUsb_DeviceConfig::Status</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>USB device Status. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="footer">Copyright &copy; 2015 Xilinx Inc. All rights reserved.</li>
  </ul>
</div>
</body>
</html>
